android substring

60

android substring -

String substr=mysourcestring.substring(startIndex);

android substring -

String substr=mysourcestring.substring(startIndex,endIndex);

android substring -

String substr=mysourcestring.substring(mysourcestring.indexOf("characterValue"));

android substring -

String substr=mysourcestring.substring(mysourcestring.indexOf("characterValue") + 1);

android substring -

String hallostring = "hallo";
String asubstring = hallostring.substring(0, 1); 

Comments

Submit
0 Comments